var win = Ti.UI.currentWindow;

win.backgroundColor = '#e0e0e0';

var b = Ti.UI.createButton({
		title:'Close',
		width:300,
		height:30,
		top: 410
	});
	b.addEventListener('click',function()
	{
		win.close();
	});
	

Ti.API.info(win.HotelName);

var HotNameLabel = Ti.UI.createLabel({
	color:'#576996',
	font:{fontSize:20,fontWeight:'bold', fontFamily:'Arial',textAlign:'center' },
	top:90,
	height:30,
	width:'auto',
	text:''+win.HotelName
});
		
win.add(HotNameLabel);

var photo = Ti.UI.createImageView({
	defaultImage:'imgs/custom_tableview/user.png',
	image: win.HotelImg,
	top:70,
	left:5,
	width:310,
	height:'auto'
});


win.add(photo);

win.add(b);


